
            	<form action="#" AjaxForm="/AdminMain/Link/DoAdd/"  AjaxVerify='OnChange'  AjaxSuccess="PageRefresh">
            	
					<p>
                        <label for="textfield"><strong>链接名称</strong></label>
                        <input id="Title" name="Title" type="text"  maxlength="20"  class="inputbox"> <br>
                        <span id="Titlespan" class="smltxt red"></span>
						<br>
                    </p>
                    <p>
                        <label for="textfield"><strong>链接地址</strong></label>
                        <input id="WebUrl" name="WebUrl" type="text" maxlength="200"   class="inputbox"> <br>
						<br>
                    </p>
					<p>
                        <label for="textfield"><strong>图片链接地址</strong></label>
                        <input id="imgUrl" name="imgUrl" type="text" maxlength="200"   class="inputbox"> <br>
						<br>
                    </p>
                  <input type="submit" id="submitoChange" value="提  交" class="btn"> 
                </form>
				


<script>
$(InfoPage)


 function OnChange()
 {
 	$("#Title").removeClass("errorbox");
    if($("#Title").val()+"a"=="a")
	{
		$("#Titlespan").html("请输入链接名称");
		$("#Title").addClass("errorbox");
	}else
	{
		return true;
	}
 
	return false;
 }
 

</script>